#pragma once
#include"../event/Object.h"

class ResourceController :public Object
{
public:
	ResourceController(Object* master);
	~ResourceController();
	
	int addRes(const int& userId, const int& id, const int& size);
	
	int useRes(const int& userId, const int& id, const int& size);
private:
	Object* m_master;
};
